#pragma once

#include "Message.h"
#include <vector>

class MessageBoard{
private:
public:
	//enum USER { POKEMON, HUMAN };
	vector<Message *> MessageList;

	MessageBoard(void);
	~MessageBoard(void);

	//void Init(int NumberOfUser);
	void SetMessage(string message, Message::USER user, int id);
	void SetMessage(string message, float value, Message::USER user, int id);
	void SetMessage(string message, float value1, float value2, Message::USER user, int id);
	void ResetMessage(Message::USER user, int id);
	void ResetMessage(string message, Message::USER user, int id);
	
	string RetrieveMessage(Message::USER user, int id);
	float RetrieveFirstValueInMsg(Message::USER user, int id);
	float RetrieveSecondValueInMsg(Message::USER user, int id);
	int RetrieveID(string message, Message::USER user);

	bool SearchPost(Message::USER user, int id);
	bool SearchPost(string message, Message::USER user);
	bool SearchPost(string message, Message::USER user, int id);
};